package com.zzyl.nursing.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("reservation")
public class Reservation {
    private Integer id;
    private String name;
    private String mobile;
    private String time;
    private String visitor;
    private Integer type;
    //预约状态，0：待报道，1：已完成，2：取消，3：过期
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String updateTime;

    private Integer createBy;
    private Integer updateBy;
    private String remark;
}
